package com.cn.learn.creator.domain.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName Columns
 * @Description 数据库表的字段对象
 * @Author JiJiang
 * @Date 2023/7/9 16:07
 * @Version 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Column extends BaseEntity {

    private String tableCatalog;

    private String tableSchema;

    private String tableName;

    private String columnName;

    private Integer ordinalPosition;

    private String columnDefault;

    private String isNullable;

    private String dataType;

    private Long characterMaximumLength;

    private Long characterOctetLength;

    private Long numericPrecision;

    private Long numericScale;

    private Integer datetimePrecision;

    private String characterSetName;

    private String collationName;

    private String columnType;

    private String columnKey;

    private String extra;

    private String privileges;

    private String columnComment;

    private String generationExpression;

    private Integer srsId;


}
